import React from 'react';

class Login extends React.Component {
  state = {
    message: 'Login'
  };

  render() {
    return <div>
      {this.state.message}
      <a href="javascript:;" onClick={() => {
        this.props.propsData.navigo.router.push('home');
      }}>Home</a>
      {JSON.stringify(this.props.propsData)}
    </div>;
  }
}

export default Login;
